<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Welcome to JSF_PrimeFaces_Spring_Hibernate Project</title>
	<style type="text/css">
.ui-layout,.ui-layout-doc,.ui-layout-unit,.ui-layout-wrap,.ui-layout-bd,.ui-layout-hd
	{
	border: none;
}
</style>
</h:head>
<body>

	<p:layout fullPage="true">

		<p:layoutUnit id="top" position="north" size="60">
			<p:toolbar>
				<p:toolbarGroup align="left">
					 		Bienvenido Fulano  
					 </p:toolbarGroup>
				<p:toolbarGroup align="right">
					<p:themeSwitcher style="width:165px" id="defaultSwitcher">
						<f:selectItem itemLabel="Choose Theme" itemValue="" />
						<f:selectItems value="#{themeSwitcherBean.themes}" />
					</p:themeSwitcher>
				</p:toolbarGroup>
			</p:toolbar>
		</p:layoutUnit>

		<p:layoutUnit id="bottom" position="south" size="60">
                    Footer
                </p:layoutUnit>

		<p:layoutUnit id="left" position="west" size="300" resizable="false"
			closable="false" collapsible="false" minSize="200">
			<p:graphicImage style="width:300px"
				value="resources/img/logo-escuela.jpg" />
			<center>
				<h4 style="width: 280px;" align="left"
					class="title ui-widget-header ui-corner-all">Lista de Amigos</h4>
			</center>
			<center>
				<h4 style="width: 280px;" align="left"
					class="title ui-widget-header ui-corner-all">Crear Mensaje</h4>
			</center>
			<center>
				<h:form id="materiasForm">



					<p:menu style="width:280px;border:none;">
						<p:submenu label="Materias">
							<p:menuitem value="Matematica" />
							<p:menuitem value="Ciencias" />

						</p:submenu>
					</p:menu>
				</h:form>
			</center>

			<h4 class="title ui-widget-header ui-corner-all">Mi Informacion</h4>


		</p:layoutUnit>


		<p:layoutUnit id="center" position="center">
			<ui:include src="tabMenu/menu.xhtml"></ui:include>
		</p:layoutUnit>

	</p:layout>
</body>
</html>
